package org.blame.lotterysystem.service;


import org.blame.lotterysystem.controller.param.CreateActivityParam;
import org.blame.lotterysystem.controller.param.PageParam;
import org.blame.lotterysystem.service.dto.*;

import java.util.List;

public interface ActivityService {
    ActivityDTO createActivity(CreateActivityParam activityParam);

    PageListDTO<ActivityListDTO> findActivityList(PageParam param);

   ActivityDetailDTO getActivityDetailById(Long activityId);

   void cacheActivity(Long activityId);
}
